package juhouse.glb.option.form;

import org.apache.struts.action.ActionForm;

public class OptionTypeForm extends ActionForm{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4952393220202608242L;
	private int typeId;
	private String typeCode;
	private String typeName;
	private String description;
	private int needDefault;
	private String defaultValue;
	public String getDefaultValue() {
		return defaultValue;
	}
	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		if(description.equals("")) description = null;
		this.description = description;
	}
	public String getTypeCode() {
		return typeCode;
	}
	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}
	public int getTypeId() {
		return typeId;
	}
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public int getNeedDefault() {
		return needDefault;
	}
	public void setNeedDefault(int needDefault) {
		this.needDefault = needDefault;
	}

}
